#pragma once
#include "DXAMLCommon.h"
#include "IPALStream.h"


class IPALDataStreamBuffer
{
public:
	virtual ~IPALDataStreamBuffer() {};
	virtual XUINT32 AddRef() = 0;
	virtual XUINT32 Release() = 0;
	virtual HRESULT Write(const void *pv, XUINT32 cb, XINT32 offset) = 0;
	virtual HRESULT CreateStream(IPALStream **ppStream) = 0;
};